package com.common.server.entity.user.dto;

/**
 * ClassName: UserUpdateRequest
 * Package: com.common.server.entity.user.dto
 * Description:
 *
 * @Author Memory
 * @Create 2024/12/26 15:08
 * @Version 1.0
 */

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "修改用户请求参数")
public class UserInfoUpdateRequest {
    /**
     * id
     */
    @ApiModelProperty(value = "用户id", required = true)
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 账号
     */
    @ApiModelProperty(value = "账号", required = false)
    private String userAccount;

    /**
     * 密码
     */
    @ApiModelProperty(value = "密码", required = false)
    private String userPassword;

    /**
     * 用户昵称
     */
    @ApiModelProperty(value = "用户昵称", required = false)
    private String userName;

    /**
     * 用户头像
     */
    @ApiModelProperty(value = "用户头像", required = false)
    private String userAvatar;

    /**
     * 用户简介
     */
    @ApiModelProperty(value = "用户简介", required = false)
    private String userProfile;

    /**
     * 用户角色：user/admin/ban
     */
    @ApiModelProperty(value = "用户角色：user/admin/ban", required = false)
    private String userRole;
}
